import Vue from "vue";
import Vuex from "vuex";
import resources from "./modules/resources";
import role from "./modules/role";
import getters from "./getters";
import app from "./modules/app";
import settings from "./modules/settings";
import login from "./modules/login";

Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    resources,
    role,
    login
  },
  getters
});

export default store;
